
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./frm.css" />
</head>
<body>
	<div id="main">
        <div class="number-frame">
            <div class="aui-btn number" tapmode onclick="openMyCoins();">-</div>
            <div class="text-coin">金币</div>
        </div>

        <div class="aui-bar aui-bar-tab">
            <div class="aui-bar-tab-item" tapmode onclick="views.openCoinsRuleWin();">
                <img src="../../../../global/image/rules.png" />金币规则
            </div>
            <div class="aui-bar-tab-item" tapmode onclick="views.openCoinsDetailWin();">
                <img src="../../../../global/image/coin-details.png" />金币明细
            </div>
            <div id="credits-record" class="aui-bar-tab-item aui-hide" tapmode onclick="views.openMyMall();">
                <img src="../../../../global/image/list2.png" />兑换记录
            </div>
        </div>
	</div>

    <div id="hot-goods"></div>
</body>


<script id="tpl-goods" type="text/x-dot-template">
	{{~it :cate:i}}
    <section class="aui-grid aui-margin-t-10">
        <div class="label">{{=cate.name}}</div>
        <div class="aui-row">
            {{~cate.goods :g:j}}
            <div class="aui-col-xs-6" data-url="{{=g.url}}" tapmode onclick="openGoods(this)">
				<img class="pic" src="../../../../global/image/ph.png" data-src="{{=g.image}}" />
                <div class="name">{{=g.name}}</div>
                <div class="amount">{{=g.price}}金币</div>
            </div>
            {{~}}
        </div>
    </section>
	{{~}}
</script>


<script type="text/javascript" src="../../../../config.js"></script>
<script type="text/javascript" src="../../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../../global/script/lib/aui-lazyload.js"></script>
<script type="text/javascript" src="../../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../../app.js"></script>
<script type="text/javascript" src="./frm.js"></script>

</html>


<script type="text/javascript" src="../../../../global/script/_fakeApi.js"></script>
<script type="text/javascript">
	$api.dom('.number').innerHTML = 1000;
</script>
